package com.dong.pointviewpager.config

import android.content.Context
import android.widget.RelativeLayout
import com.dong.pointviewpager.constant.*
import com.dong.pointviewpager.utils.DensityUtils

/**
 * @description:
 * @author dong
 * @date 2021/12/16 17:36
 */
class GalleryViewPagerConfig(val context: Context) {
    var pageWidth = DensityUtils.dp2px(context, DEFAULT_GALLERY_WIDTH.toFloat()).toInt()
    var pageHeight = RelativeLayout.LayoutParams.MATCH_PARENT
    var pageAlpha = DEFAULT_GALLERY_ALPHA.toFloat() //隐藏页卡的透明度
    var pageScale = DEFAULT_GALLERY_SCALE.toFloat() //隐藏页卡的缩放比例
    var pageDistance = DEFAULT_GALLERY_OFFSET //两侧页卡缩紧的距离
    var pageRotation = DEFAULT_GALLERY_ROTATION // 两侧页卡倾斜的角度
}